
.mainpage {
    position: absolute;
    bottom: 15%;
    left: 15%;
    right: 15%;
    top: 15%;
    height: 690px;
    z-index: -10;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow: hidden;
  }
  .chatitem {
    padding: 0;
    z-index: -5;
    height: 100%;
    box-sizing: border-box;
  }
  .sidebar {
    background-color: #dddddd;
    z-index: -5;
    height: 100%;
    box-sizing: border-box;
  }
  .centerbar {
    z-index: -5;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
  }
  .mainbar {
    background-color: #dddddd;
    height: 7%;
    width: 100%;
    box-sizing: border-box;
  }
  .chatlist {
    background-color: #f3f3f3;
    height: 93%;
    width: 100%;
    /* box-sizing: border-box;
    border-top-style: solid;
    border-top-width: 2%;
    border-top-color: #dddddd;
    border-bottom-style: solid;
    border-bottom-width: 2%;
    border-bottom-color: #dddddd; */
  }
  .chatbar {
    background-color: #f8f8f8;
    height: 5%;
    width: 100%;
    box-sizing: border-box;
  }
  .chatbar_rec {
    border-bottom-style: solid;
    border-bottom-color: #dddddd;
  }
  .chatmessage {
    background-color: #f8f8f8;
    height: 70%;
    width: 100%;
    box-sizing: border-box;
  }
  .chatarea {
    background-color: #f8f8f8;
    height: 500px;
    width: 100%;
    box-sizing: border-box;
  }
  .chatarea_rec {
    border-top-style: solid;
    border-top-color: #dddddd;
  }
  .Rollbar {
    overflow: hidden;
  }
  .Rollbar:hover {
    overflow-y: overlay;
  }
  .Rollbar::-webkit-scrollbar {
    width: 4px;
    /*height: 4px;*/
  }
  .Rollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
  }
  .Rollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
  }

  .mainbar .imgbox{
    width: 40px;
    height: 40px;
    margin-top: 5px;
  }

  .toolbar{
    background-color: #f8f8f8;
    color: #333;
    border-top-style: solid;
    border-top-color: #dddddd;
    border-top-width: 1px;
    text-align: center;
  }
  .TextArea{
    background-color: #FFFFFF;
    height: 120px;
    width: 100%;
    padding: 0 0 0 0;
  }
